package com.agriculture.monitor.entity;

import com.agriculture.monitor.dto.TreeNode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author admin
 * @since 2024-03-21
 */
@TableName("t_menu")
@Data
public class Menu extends TreeNode<Integer, Menu> {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String name;

    private String path;

    private String fullPath;

    private String icon;

    private Integer parentId;

    @TableField(exist = false)
    private Integer checked;

    @TableField(exist = false)
    private Integer roleId;
}
